package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @Author: bowen
 * @Date: 2019/6/24 15:57
 * @Description:
 */
public interface CheckgroupDao {
    void add(CheckGroup checkGroup);
    void setRelationsBetweencheckGroupIdAndcheckitemids(Map map);
    Page<CheckGroup> findPage(String queryString);
    CheckGroup findCheckgroupById(Integer id);
    Integer[] findCheckItemIdsByCheckGroupId(Integer id);
    void update(CheckGroup checkGroup);
    void deletecheckitemIdsByCheckGroupId(Integer id);
    List<CheckGroup> findAll();
}
